﻿using System.Text.Json.Serialization;

namespace DimensionsHelper.ExcelAddIn.Core.Sql;

/// <summary>
/// 读取SQL码表时，用于区分码号级别的类型
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter<CodeLevelMarkType>))]
public enum CodeLevelMarkType
{

    /// <summary>
    /// 未找到码号的描述单元格
    /// </summary>
    WithoutCode,

    /// <summary>
    /// 填充背景色的单元格
    /// </summary>
    InteriorColor,

    /// <summary>
    /// 添加了字体颜色的单元格
    /// </summary>
    FontColor,

    /// <summary>
    /// 字体加粗的单元格
    /// </summary>
    FontBold,

    /// <summary>
    /// 字体倾斜的单元格
    /// </summary>
    FontItalic,

    /// <summary>
    /// 添加了下划线的单元格
    /// </summary>
    FontUnderline,
}
